#ifndef ITEMS_H
#define ITEMS_H
#include <QtGui>
#include <QGraphicsItem>
#include "CheesesProperties.h"

class Items : public QGraphicsItem
{
 public:
   Items(CheesesType type,int radius,QPoint location);
   QRectF boundingRect() const;
   virtual void paint(QPainter *, const QStyleOptionGraphicsItem *,QWidget *);
   CheesesType toGetCheesesType() const;
   QPoint toGetLocation() const;
   int toGetRadius() const;
   void setLocation(const QPoint& point);

//data
private:
    CheesesType type;
    int radius;
    QPoint location;
};

#endif // ITEMS_H
